// 引入数据库
var mongoose=require("mongoose");
var goodsTypeSchema=new mongoose.Schema({
    // 商品分类-类名
    name:String,
    // 类图
    img:String,
    isspan: {
        type: Boolean,
        default: true
    },
})
mongoose.model("goodsTypeModel",goodsTypeSchema,"goodsType");